package cn.edu.lnpu.common.exception;

import cn.edu.lnpu.common.model.response.ResultCode;

public class CustomException extends RuntimeException{

    ResultCode resultCode;

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }
}
